﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;

using Happy.Utils.Encryption;

namespace Happy.Utils.Test.Encryption
{
    [TestClass]
    public class HashUtilTest
    {
        [TestMethod]
        public void MD5_Test()
        {
            var md51 = HashUtil.MD5("123456");
            var md52 = HashUtil.MD5("123456");

            Assert.AreEqual(md51, md52);
        }
    }
}
